package aaaaa;

import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
import com.fasterxml.jackson.databind.node.ObjectNode;

import java.util.Iterator;
import java.util.Map;

public class Others {
    public static void main(String[] args) {
        ObjectNode datanode = JsonNodeFactory.instance.objectNode();

        datanode.put("first", "fsdf");
        datanode.put("haha", "jiushiwo");
        datanode.put("jkfls", "fjdslj");

        Iterator<String> fieldNames = datanode.fieldNames();
        Iterator<Map.Entry<String, JsonNode>> entryIterator = datanode.fields();
        System.out.println("sdjflkjsklj");

    }
}
